.layout{
    max-width: 640px;
    margin: 0 auto;
    // 头部tab栏
    .baicai_nav {
        overflow: hidden;
        >.baicai_tab {
            line-height: 60px;
            list-style: none;
            li {
                -webkit-tap-highlight-color: rgba(0,0,0,0);
                -webkit-tap-highlight-color: transparent;
                font-size: 18px;
                float: left;
                padding: 0 8px;
                a {
                    text-align: center;
                    text-decoration: none;
                    display: block;
                    width: 100%;
                    height: 100%;
                    box-sizing: border-box;
                }
            }
            >.active{
                >a {
                    border-bottom: 3px solid red;
                    box-sizing: border-box;
                }
            }
        }
    }
    // 产品栏
    .baicai_product {
        background-color: #eee;
        .bc_product_box {
            // height: 200px;
            display: flex;
            padding: 5px 0;
            margin-bottom: 5px;
            background-color: #fff;
            >span:nth-of-type(1) {
                flex:0.75;
                height: 100%;
                >img {
                    width: 100%;
                    height: 100%;
                }
            }
            >span:nth-of-type(2) {
                flex: 1.25;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding-left: 10px;
                >p:nth-child(1){
                    font-size: 16px;
                    color: black;
                }
                >p:nth-of-type(2) {
                    color: red;
                    font-size: 28px;
                    >i{
                        font-size: 18px;
                        font-style: normal;
                    }
                    >em {
                        padding: 0 3px;
                        font-size: 14px;
                    }
                    >del {
                        margin-left: 15px;
                        font-size: 14px;
                        color: #ccc;
                        vertical-align: middle;
                    }
                }
                >div {
                    color: #e92322;
                    b {
                        margin-left: 10px;
                        font-weight: normal;
                    }
                    i {
                        font-style: normal;
                        font-weight: bold;
                        display: inline-block;
                        width: 100px;
                        height: 14px;
                        border-radius: 15px;
                        line-height: 14px;
                        text-align: center;
                        color: #fff;
                        border: 1px solid #e92322;
                        // background-color: #ccc;
                        background-image: linear-gradient(to right,red 1%,#ccc 1%);
                    }
                }
                >p:nth-of-type(3) {
                    >a {
                        line-height: 30px;
                        height: 100%;
                        padding: 0 5px;
                        font-size: 14px;
                        text-decoration: none;
                    }
                    >a:nth-of-type(1) {
                        float: left;
                        height: 25px;
                        line-height: 25px;
                        border: 1px dashed #000;
                    }
                    >a:nth-of-type(2) {
                        float: right;
                        margin-right: 8px;
                        color: #fff;
                        border-radius: 5px;
                        background-color: rgb(236, 99, 99);
                    }
                }
            }
        }
    }
}
